/* 初始化样式 */

html {
    -webkit-tap-highlight-color: transparent;
    min-width: 320px;
    overflow-x: hidden;
    height: 100%;
}

body {
    font: normal 14px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #333;
    background-color: #f0efed;
    line-height: 1;
}

* {
    margin: 0;
    padding: 0;
}

em,
i {
    font-style: normal;
}

a {
    /* 去除字iOS端点击链接会有背景颜色和字体颜色的 */
    -webkit-tap-highlight-color: transparent;
    text-decoration: none;
}

img {
    vertical-align: middle;
}

a,
img {
    /* 在iOS端长安a和img标签会出现菜单栏，去除该样式的 */
    -webkit-touch-callout: none;
}

ul li,
ol li {
    list-style: none;
}

input button {
    /* 去除iOS端input里的按钮有个高亮的颜色 */
    -webkit-appearance: none;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.clear::after,
.clear::before {
    display: table;
    content: "";
}

.clear::after {
    clear: both;
}


/* 引入的字体图标 */

@font-face {
    font-family: 'iconfont';
    src: url('../iconfont/iconfont.eot');
    src: url('../iconfont/iconfont.eot?#iefix') format('embedded-opentype'), url('../iconfont/iconfont.woff2') format('woff2'), url('../iconfont/iconfont.woff') format('woff'), url('../iconfont/iconfont.ttf') format('truetype'), url('../iconfont/iconfont.svg#iconfont') format('svg');
}


/* 最外层容器盒子 */

.container {
    min-width: 320px;
    max-width: 640px;
    margin: 0 auto;
}


/* 搜索栏部分 */

.search-box {
    display: flex;
    align-items: center;
    width: 100%;
    height: 50px;
    background: linear-gradient(135deg, #FFD000 0%, #FFBD00 100%);
    line-height: 50px;
}

.site {
    width: 150px;
    height: 100%;
    text-align: center;
}

.site a {
    display: block;
    width: 100%;
    height: 100%;
    font-size: 14px;
    color: #222;
    text-align: center;
}

.site a::after {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    border-bottom: 1px solid #877012;
    border-right: 1px solid #877012;
    margin-left: 6px;
    margin-bottom: 3px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -webkit-border-radius: 1px solid #877012;
    -moz-border-radius: 1px solid #877012;
    -ms-border-radius: 1px solid #877012;
    -o-border-radius: 1px solid #877012;
}

.uearname {
    width: 94px;
    height: 100%;
    text-align: center;
}

.uearname a {
    display: block;
    width: 100%;
    height: 100%;
}

.uearname a img {
    width: 25px;
    height: 25px;
    margin-bottom: 5px;
}

.search {
    flex: 1;
    height: 32px;
    line-height: 32px;
    background-color: white;
    border-radius: 9px;
    -webkit-border-radius: 9px;
    -moz-border-radius: 9px;
    -ms-border-radius: 9px;
    -o-border-radius: 9px;
}

.search a {
    display: block;
    width: 84%;
    height: 100%;
    font-size: 14px;
    color: #999;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.search a::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    background: url(../images/search.png) no-repeat;
    background-size: 14px auto;
    position: relative;
    top: 2px;
    left: 3px;
}


/* logo部分 */

.logo {
    display: flex;
    width: 100%;
    height: 52px;
    background-color: black;
}

.logo-left {
    flex: 1;
    padding-left: 15px;
}

.logo-left img {
    width: 36px;
    height: 36px;
    margin-top: 8px;
}

.logo-text {
    margin-left: 10px;
}

.logo-text h3 {
    font-size: 12px;
    margin-top: 10px;
    color: white;
}

.logo-text p {
    color: white;
    font-size: 10px;
    margin-top: 7px;
}

.logo-right {
    flex: 1;
    padding-right: 15px;
}

.logo-right a {
    display: block;
    float: right;
    width: 56px;
    height: 31px;
    line-height: 31px;
    background-color: #ffcb00;
    font-size: 12px;
    color: black;
    text-align: center;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    margin-top: 10px;
}


/* 导航部分 */

.nav {
    width: 100%;
    background-color: white;
}

.nav ul li {
    float: left;
    width: 20%;
}

.nav ul li a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    font-size: 12px;
    color: #666;
}

.nav ul li a .iconfont {
    width: 40px;
    height: 40px;
    line-height: 40px;
    margin-top: 9px;
    margin-bottom: 8px;
    text-align: center;
    color: white;
    font-family: "iconfont" !important;
    font-size: 25px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

.nav ul li:nth-child(1) a .iconfont {
    background-color: #fd9d21;
    margin-left: 2px;
}

.nav ul li:nth-child(2) a .iconfont {
    background-color: #ff6767;
}

.nav ul li:nth-child(3) a .iconfont {
    background-color: #8a90fa;
}

.nav ul li:nth-child(4) a .iconfont {
    background-color: #fed030;
}

.nav ul li:nth-child(5) a .iconfont {
    background-color: #fd9d21;
}

.nav ul li:nth-child(6) a .iconfont {
    background-color: #fed030;
}

.nav ul li:nth-child(7) a .iconfont {
    background-color: #ff6767;
}

.nav ul li:nth-child(8) a .iconfont {
    background-color: #4dc6ee;
}

.nav ul li:nth-child(9) a .iconfont {
    background-color: #ff80c2;
}

.nav ul li:nth-child(10) a .iconfont {
    background-color: #fd9d21;
}

.main-show {
    background-color: white;
    margin-top: 10px;
    padding: 0 15px
}

.main-show-bd {
    height: 40px;
    line-height: 40px;
    border-bottom: 1px solid #f2f0ec;
    font-size: 18px;
    color: #333;
}

.main-show ul li a {
    display: flex;
    padding: 10px 0;
    color: #333;
    border-bottom: 1px solid #f2f0ec;
}

.main-show ul li a .info-img {
    width: 25%;
    height: 90px;
    margin-right: 10px;
}

.main-show ul li a .info-img img {
    width: 100%;
    height: 100%;
}

.main-show ul li a .info {
    flex: 1;
}

.main-show ul li a .info h4 {
    font-size: 14px;
    margin-top: 10px;
}

.main-show ul li a .info p {
    font-size: 12px;
    color: #666;
    margin-top: 10px;
}

.main-show ul li a .info .price {
    margin-top: 25px;
}

.main-show ul li a .info .price span {
    font-size: 14px;
    color: #ff6600;
    margin-right: 5px;
}

.main-show ul li a .info .price i {
    font-size: 12px;
    color: #666;
}

.main-show ul li a .info .price em {
    font-size: 12px;
    color: #666;
    position: relative;
    bottom: 5px;
}